\documentclass[tikz,border=2mm]{standalone}
\usepackage{array,amsmath,mathptmx,xcolor,bbding}
\usepackage[UTF8]{ctex}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
% 只需要这个就可以
\usepackage[thicklines]{cancel}

% 可以设置线条颜色，默认是黑色
\usepackage{xcolor}
\usepackage{xeCJKfntef}
\renewcommand{\CancelColor}{\color{red}} 
\usepackage{tikz-cd}
\usepackage{tikz,graphicx,subfig,caption} % Required for drawing custom shapes
\usetikzlibrary{fit,matrix,chains,arrows,shapes,positioning,arrows.meta,chains,shadows,shapes.callouts,decorations.text,shapes.symbols,shapes.misc, positioning,decorations.pathreplacing,calc}

% 设定删除线颜色
\renewcommand{\CancelColor}{\color{red}}

\begin{document}
	\begin{tikzpicture}[>=latex,every node/.style={anchor=south west,,inner sep=0}]
		
		%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
		\node[drop shadow, fill=white] at (5em,0) (SYNBL){
			\begin{tabular}{|l|C{2em}|C{5em}|C{4em}|C{7em}|}
				\hline 
				% 行1
				\color{blue}分析栈 & \color{blue}w & \color{blue}剩余串 & \color{blue}句柄产生式 & \color{blue}操作 \\ \hline
				% 行2
				\color{blue}$\#$ & \color{blue}\bcancel{a} & \color{blue}b b e a e $\#$ & \color{blue} & \color{blue}移进，NEXT \\ \hline
				% 行3
				\color{blue}$\#$ a & \color{blue}\bcancel{b} & \color{blue}b e a e $\#$ & \color{blue} & \color{blue}移进，NEXT \\ \hline
				% 行4
				\color{blue}$\#$ a \color{red}\underline{\bcancel{b}}& \color{blue}{b} & \color{blue}e a e $\#$ & \color{blue}{S$\rightarrow$b} & \color{red}归约 \\ \hline
				% 行5             
				\color{blue}$\#$ a S & \color{blue}\bcancel{b} & \color{blue}e a e $\#$ & \color{blue} & \color{blue}移进，NEXT \\ \hline
				% 行6
				\color{blue}$\#$ a \color{red}\underline{\bcancel{\color{blue}S b}} & \color{blue}{e} & \color{blue}a e $\#$ & \color{blue}{A$\rightarrow$Sb} & \color{red}归约 \\ \hline
				% 行7
				\color{blue}$\#$ a A & \color{blue}\bcancel{e} & \color{blue}a e $\#$ & \color{blue} & \color{blue}移进，NEXT \\ \hline
				% 行8
				\color{blue}$\#$ a A e & \color{blue}\bcancel{a} & \color{blue}e $\#$ & \color{blue} & \color{blue}移进，NEXT \\ \hline
				% 行9
				\color{blue}$\#$ a A e a & \color{blue}\bcancel{e} & \color{blue}$\#$ & \color{blue} & \color{blue}移进，NEXT \\ \hline
				% 行10
				\color{blue}$\#$ aAe a \color{red}\underline{\bcancel{e}} & \color{blue}$\#$ & \color{blue} & \color{blue}A$\rightarrow$e & \color{red}归约\\ \hline
				% 行11
				\color{blue}$\#$ aAe \color{red}{\underline{\bcancel{\color{blue}aA}}} & \color{blue}$\#$ & \color{blue} & \color{blue}B$\rightarrow$aA & \color{red}归约\\ \hline
				% 行12
				\color{blue}$\#$ \color{red}\underline{\sout{\color{blue}aAe B}} & \color{blue}$\#$ & \color{blue} & \color{blue}S$\rightarrow$aAeB & \color{red}归约\\ \hline
				% 行13
				\color{blue}$\#$ S & \color{blue}$\#$ & \color{blue} & \color{blue} & \color{blue}OK \\ \hline
			\end{tabular}
		};
		% 第一行字
		\node (title1) at ([xshift=-12em,yshift=0.5em]SYNBL.north) {\color{blue}设 \hspace{0.5em}待分析的符号串:\color{red}abbeae$\#$};
		
		
		
		% 句柄1
		\node(a1)[draw, draw=red, line width=0.05em, rectangle callout, callout relative pointer={(1.4,-0.2)}, rounded corners, align=center ,inner sep=0.3em] at ([xshift=-3em, yshift=3em]SYNBL.west) {\color{red}{句} \\ \color{red}{柄}};
		% 句柄2
		\node(a1)[draw, draw=red, line width=0.05em, rectangle callout, callout relative pointer={(1.5,-1.2)}, rounded corners, align=center ,inner sep=0.3em] at ([xshift=-3em, yshift=3em]SYNBL.west) {\color{red}{句} \\ \color{red}{柄}};
		% 句柄3
		\node(a1)[draw, draw=red, line width=0.05em, rectangle callout, callout relative pointer={(1.95,-3.0)}, rounded corners, align=center ,inner sep=0.3em] at ([xshift=-3em, yshift=3em]SYNBL.west) {\color{red}{句} \\ \color{red}{柄}};
		% 句柄4
		\node(a1)[draw, draw=red, line width=0.05em, rectangle callout, callout relative pointer={(1.75,-3.2)}, rounded corners, align=center ,inner sep=0.3em] at ([xshift=-3em, yshift=3em]SYNBL.west) {\color{red}{句} \\ \color{red}{柄}};
		% 句柄1
		\node(a1)[draw, draw=red, line width=0.05em, rectangle callout, callout relative pointer={(1.5,-3.8)}, rounded corners, align=center ,inner sep=0.3em] at ([xshift=-3em, yshift=3em]SYNBL.west) {\color{red}{句} \\ \color{red}{柄}};
		
		
		
	\end{tikzpicture}
\end{document}